package zack.gateway.core.executor;

import zack.gateway.core.executor.result.SessionResult;
import zack.gateway.core.mapping.HttpStatement;

import java.util.Map;

/**执行器，负责rpc连接，将rpc泛化调用与网关会话抽离
 * @author A1793
 */
public interface Executor {

    public SessionResult exec(HttpStatement httpStatement, Map<String,Object> parameters);
}
